package com.wechet.serveice;

import com.wechet.domain.OrderMaster;
import com.wechet.dto.OrderDto;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by sc on 2017/9/21.
 */
public interface OrderService {

//    创建
    OrderDto create(OrderDto orderDto);
//    查询
    OrderDto findOne(String orderId);
    Page<OrderDto> findList(String buyeropenid, Pageable pageable);
//    取消订单
    OrderDto cancel(OrderDto orderDto);
//    完结订单
    OrderDto finish(OrderDto orderDto);

//    支付
    OrderDto paid(OrderDto orderDto);

    Page<OrderDto> findList(Pageable pageable);
}
